package com.nbot.server.service;

import com.nbot.server.domain.OilwellDO;
import com.nbot.server.domain.SRPFaultWithBLOBs;
import com.nbot.server.domain.SRPResultWithBLOBs;

import java.util.List;
import java.util.Map;

/**
 * 
 * 
 * @author nbot
 * @email nbot@163.com
 * @date 2018-07-08 02:31:59
 */
public interface OilwellService {
	
	OilwellDO get(Long autoid);
	
	List<OilwellDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(OilwellDO oilwell);
	
	int update(OilwellDO oilwell);
	
	int remove(Long autoid);
	
	int batchRemove(Long[] autoids);

	List<OilwellDO> listAll();

	SRPFaultWithBLOBs getOilAlarm(String faultName);

	List<SRPResultWithBLOBs> getTagWellList(String tablename,String wellname);

	List<SRPFaultWithBLOBs> getFaultList();
}
